package com.hison;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @ClassName: BlogApplication
 * @Descripiton: 创建启动类
 * @Author: 小郑
 * @Date： 2024/1/12 10:35
 * @Version：1.8
 **/
@SpringBootApplication
@MapperScan("com.hison.mapper")
@EnableSwagger2
//@EnableScheduling是spring提供的定时任务的注解
@EnableScheduling
public class BlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(BlogApplication.class, args);
    }
}